﻿@using CAF.WebSite.AliPayment.Models;
@model ConfigurationModel
@{
	Layout = "";
}

<div class="plugin-configuration">
	<div>
		<div class="alert alert-info">
			<button class="close" data-dismiss="alert">×</button>
			@Html.Raw(T("Plugins.Payments.AliPayment.AdminInstruction"))
		</div>
	</div>
	<div>
		<a href="https://www.paypal.com/" target="_blank">
			<img src="@Url.Content("~/Plugins/CAF.WebSite.AliPayment/Content/logo.jpg")" alt="AliPayment" class="logo" />
		</a>
	</div>
</div>

@Html.Action("StoreScopeConfiguration", "Setting", new { area = "Admin" })

@using (Html.BeginForm())
{
    <table class="adminContent configure-paypal-standard">
		
        <tr>
            <td class="adminTitle">
                @Html.SmartLabelFor(model => model.SellerEmail)
            </td>
            <td class="adminData">
                @Html.SettingEditorFor(model => model.SellerEmail)
                @Html.ValidationMessageFor(model => model.SellerEmail)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.SmartLabelFor(model => model.Key)
            </td>
            <td class="adminData">
                @Html.SettingEditorFor(model => model.Key)
                @Html.ValidationMessageFor(model => model.Key)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.SmartLabelFor(model => model.Partner)
            </td>
            <td class="adminData">
                @Html.SettingEditorFor(model => model.Partner)
                @Html.ValidationMessageFor(model => model.Partner)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.SmartLabelFor(model => model.AdditionalFee)
            </td>
            <td class="adminData">
                @Html.SettingEditorFor(model => model.AdditionalFee)
                @Html.ValidationMessageFor(model => model.AdditionalFee)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.SmartLabelFor(model => model.AdditionalFeePercentage)
            </td>
            <td class="adminData">
                @Html.SettingEditorFor(model => model.AdditionalFeePercentage)
                @Html.ValidationMessageFor(model => model.AdditionalFeePercentage)
            </td>
        </tr>
       
		 
        <tr>
            <td class="adminTitle">
                &nbsp;
            </td>
            <td class="adminData">
                <button type="submit" name="save" class="btn btn-primary" value="save">
                    <i class="fa fa-check"></i>&nbsp;@T("Admin.Common.Save")
                </button>
            </td>
        </tr>
    </table>
}

<script type="text/javascript">
	$(document).ready(function () {

		 

	});
</script>